﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.Identity;

namespace ABPLHQCS.Departments
{
    public class Department : AuditedAggregateRoot<Guid>
    {

        public string DepartmentName { get; set; }
        public int SortNum { get; set; }

        public Guid? ParentId { get; set; }
        public Department Parent { get; set; }
        public ICollection<Department> SubDepartment { get; set; }

    }

    
}
